home *** CD-ROM | disk | FTP | other *** search
- Path: tank.news.pipex.net!pipex!warwick!bham!bhamcs!news
- From: "Tom (Ghoti) Kermode" <txk@cs.bham.ac.uk>
- Newsgroups: comp.unix.questions,comp.lang.c
- Subject: Re: Bold ASCII
- Date: Fri, 15 Mar 1996 10:52:41 +0000
- Organization: Not relevant - too disorganiSed
- Message-ID: <31494BF9.1654@cs.bham.ac.uk>
- References: <4i7cpj$hqa@nexen.nexen.com>
- NNTP-Posting-Host: gromit.cs.bham.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
-
- Matthew B. Doar wrote:
- >
- > Anyone know how to get bold strings of text
- > from a program (termcap related?)
- >
- > e.g.
- >
- > printf("\012 This is in bold \013\n");
- >
- > where \012 and \013 are whatever the magic ascii values
- > are to turn on and off bold.
- >
- > ~Matt
-
- The ascii values are \033[1m to turn bold on and \033[0m to turn it off.
- (out of interest)
-
- Tom
-
-
- [ Tom Kermode Email: txk@cs.bham.ac.uk ]
- [ UK based home page available at... http://www.cs.bham.ac.uk/~txk ]
- [ US based home page available at... http://www.tripod.com/~ghoti ]
-